package com.yj.suncity.activity.shouye.bean;

import org.json.JSONObject;

public class ShouyeGoodsBean {
	private String id;// ": "f534a021-3f9d-4e03-867e-a1a68a367a5e",
	private String release_type;// ": "2",
	private String goods_title;// ": "抵购",
	private String goods_price;// ": "100",
	private String real_price;
	private String buy_type;
	private String img_url;// ": "/upload/201504/18/201504181217533230.jpg",
	private String good_num;// ": "15",
	private String silver_num;// ": "5",
	private String silver_money;// ": "1",
	private String goods_address;// ": "抵购地址",
	private String create_datetime;// ": "1429330673"

	public ShouyeGoodsBean(JSONObject json) {
		this.id = json.optString("id");
		this.release_type = json.optString("release_type");
		this.goods_title = json.optString("goods_title");
		this.goods_price = json.optString("goods_price");
		this.img_url = json.optString("img_url");
		this.good_num = json.optString("good_num");
		this.silver_num = json.optString("silver_num");
		this.silver_money = json.optString("silver_money");
		this.goods_address = json.optString("goods_address");
		this.create_datetime = json.optString("create_datetime");
		this.real_price = json.optString("real_price");
		this.buy_type = json.optString("buy_type");
	}
	
	public String getReal_price() {
		return real_price;
	}

	public void setReal_price(String real_price) {
		this.real_price = real_price;
	}

	public String getBuy_type() {
		return buy_type;
	}

	public void setBuy_type(String buy_type) {
		this.buy_type = buy_type;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setRelease_type(String release_type) {
		this.release_type = release_type;
	}

	public void setGoods_title(String goods_title) {
		this.goods_title = goods_title;
	}

	public void setGoods_price(String goods_price) {
		this.goods_price = goods_price;
	}

	public void setImg_url(String img_url) {
		this.img_url = img_url;
	}

	public void setGood_num(String good_num) {
		this.good_num = good_num;
	}

	public void setSilver_num(String silver_num) {
		this.silver_num = silver_num;
	}

	public void setSilver_money(String silver_money) {
		this.silver_money = silver_money;
	}

	public void setGoods_address(String goods_address) {
		this.goods_address = goods_address;
	}

	public void setCreate_datetime(String create_datetime) {
		this.create_datetime = create_datetime;
	}

	public String getId() {
		return id;
	}

	public String getRelease_type() {
		return release_type;
	}

	public String getGoods_title() {
		return goods_title;
	}

	public String getGoods_price() {
		return goods_price;
	}

	public String getImg_url() {
		return img_url;
	}

	public String getGood_num() {
		return good_num;
	}

	public String getSilver_num() {
		return silver_num;
	}

	public String getSilver_money() {
		return silver_money;
	}

	public String getGoods_address() {
		return goods_address;
	}

	public String getCreate_datetime() {
		return create_datetime;
	}

}
